//
//  BaseModel.m
//  Music
//
//  Created by dllo on 16/6/6.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "BaseModel.h"

@implementation BaseModel
//容错方法
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
    
}
-(void)setNilValueForKey:(NSString *)key
{
    
}
-(instancetype)initWithDic:(NSDictionary *)dic
{
    self = [super  init];
    if (self) {
        [self  setValuesForKeysWithDictionary:dic];
    }
    
    return self;
    
}

@end
